home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / 3d_lib.zip / DUMPV.C < prev    next >
C/C++ Source or Header  |  1993-05-09  |  766b  |  28 lines

  1. /* Dump vertex to screen
  2.  
  3.    Copyright (c) 1988 by Gus O'Donnell
  4.  
  5.    Revision history:
  6.  
  7.    Version 1.00         February 29, 1988       As released.
  8.  
  9.    Version 1.01         March 20, 1988          Created libraries for all
  10.                                                 memory models
  11.  
  12. */
  13. #include "3d.h"
  14. #include <float.h>
  15. #include <math.h>
  16. #include <stdio.h>
  17.  
  18. void    dump_vec (VERTEX this_vec)
  19.  
  20. /* Dump a vertex to the screen. */
  21.  
  22. {
  23.     printf (" %+12.5e, %+12.5e, %+12.5e, next = %06X\n",this_vec.coord [0],
  24.                                                         this_vec.coord [1],
  25.                                                         this_vec.coord [2],
  26.                                                         this_vec.next);
  27. }
  28.